/-app
/-boot
/-imports
/-storage ...
/-storage/attached ...
/-storage/attached/api
/-storage/attached/indexedDB ...
DetectStorage.ts
LoadStorage.ts
functions.ts
/-storage/attached/localStorage
/-storage/attached/webSQL
/-tests
/-typings
stringUtils.ts
teapo.html
1
module teapo.storage.attached.indexedDB {
2
  
3
  export class LoadStorage implements attached.LoadStorage {
4
    
5
    constructor(
6
      public editedUTC: number,
7
      private _db: IDBDatabase){
8
    }
9
    
10
    load(recipient: attached.LoadStorageRecipient) {
11
      var transaction = this._db.transaction('files');
12
      //transaction.on
13
    }
14
 
15
    migrate(
16
      editedUTC: number,
17
      filesByName: { [name: string]: { [name: string]: string; }; },
18
      callback: (error: Error) => void){
19
    }
20
 
21
  }
22
  
23
}